export function echarts1() {
  return{
    tooltip: {
      trigger: 'item'
    },
    legend: {
      top: '5%',
      left: 'center',
      itemWidth: 10,
      itemHeight: 10,
      itemStyle: {
        borderWidth: 0,
        borderType: 'dashed'
      },
      textStyle: {
        color: '#0aafc6'
      }
    },
    series: [{
      name: '访问来源',
      type: 'pie',
      radius: ['40%', '70%'],
      avoidLabelOverlap: false,
      itemStyle: {
        borderRadius: 5,
        borderColor: '#fff',
        borderWidth: 2
      },
      label: {
        show: false,
        position: 'center'
      },
      emphasis: {
        label: {
          show: true,
          fontSize: '20',
          fontWeight: 'bold'
        }
      },
      labelLine: {
        show: false
      },
      data: [{
          value: 1048,
          name: '煤矿业'
        },
        {
          value: 735,
          name: '制造业'
        },
        {
          value: 580,
          name: '房地产业'
        },
        {
          value: 484,
          name: '软件业'
        },
        {
          value: 300,
          name: '超市'
        }
      ]
    }]
  };
}